package com.example.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

/**
 * 账户表
 * @TableName account1
 */
//@Repository
@TableName(value = "account1")
@Data
public class Account1 implements Serializable {
    /**
     * 用户id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户名
     */
    @TableField(value = "name")
    private String name;
    /**
     * 用户密码
     */
    @TableField(value = "password")
    private String password;
    /**
     * 积分
     */
    @TableField(value = "integral")
    private Integer integral;
    /**
     * 备注信息
     */
    @TableField(value = "remarks")
    private String remarks;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}